package com.qth.valet.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qth.valet.common.utils.ResponseResult;
import com.qth.valet.entity.po.CouponUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qth.valet.entity.vo.CouponUserVo;

import java.util.List;

/**
 * <p>
 * 优惠券-用户-关系表 服务类
 * </p>
 *
 * @author 蔡徐坤
 * @since 2025-08-26
 */
public interface CouponUserService extends IService<CouponUser> {

    List<CouponUserVo> getMyCouponList(Integer id);

    Long getMyCouponCount(Integer id);

    IPage<CouponUserVo> getMyCouponBySts(IPage<CouponUserVo> page, Integer id, Integer status);
}
